package com.jic.product.manage.response;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 商品表
 *
 * @author :
 * @version : v1.0.0
 * @email :
 * @since : 2020-01-10 07:03:01
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CategorySecondSonRest {


    private static final long serialVersionUID = 1L;

    //主键id
    private String id;
    //类目编码
    private String categoryCode;
    //第三方编码
    private String thirdCode;
    //描述
    private String description;
    //类目id全路径
    private String fullIdPath;
    //类目name全路径
    private String fullNamePath;

    //是否是叶子节点
    private Integer isLeaves;
    //层级，如：1 标示顶级，2标示第二级 最高允许10级
    private Integer level;
    //列表排序
    private Integer listSort;
    //节点名称
    private String name;
    //父类目节点ID
    private long parentId;
    //图片URL
    private String pictureUrl;
    //顶级节点id
    private long firstCategoryId;

    private List<CategorySecondSonRest> categoryList;

}
